<div class="layui-row">
    <div class="pull-left">
        <form action="{:sysuri()}" autocomplete="off" class="layui-form layui-form-pane form-search" method="get" onsubmit="return false">
            <div class="layui-form-item layui-inline">
                <label class="layui-form-label">商品货号</label>
                <label class="layui-input-inline">
                    <input class="layui-input" name="name" placeholder="请输入商品货号" value="{$get.name|default=''}">
                </label>
            </div>
            <div class="layui-form-item layui-inline">
                <button class="layui-btn layui-btn-primary"><i class="layui-icon">&#xe615;</i> 搜 索</button>
            </div>
        </form>
    </div>
    <div class="pull-right">
        <!--{if auth("add")}-->
            <button class='layui-btn layui-btn-sm layui-btn-primary' data-modal='{:url("add")}' data-title="创建商品信息">创建商品</button>
        <!--{/if}-->
        <!--{if auth("remove")}-->
            <button class='layui-btn layui-btn-sm layui-btn-primary' data-action='{:url("remove")}' data-rule="id#{sps}">删除商品</button>
        <!--{/if}-->
    </div>
</div>